<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>46-3D位移-translate3d</title>
    <style>
        /* 透视写在被观察元素的父盒子上面 */
        
        body {
            perspective: 500px;
        }
        
        div {
            width: 200px;
            height: 200px;
            background: pink;
            transform: translate3d(400px, 100px, 100px);
        }
    </style>
</head>

<body>
    <div></div>
</body>

</html>